package com.share.wechat.core.service;

import com.share.wechat.core.entity.QuoteDetail;

import java.util.List;

public interface QuoteDetailService {
    /**
     * 保存一个具体的信息
     * @param quoteDetail quoteDetail
     */
    void add(QuoteDetail quoteDetail);

    /**
     * 根据detailId 查询出一个结果
     * @param detailId detailId
     * @return QuoteDetail
     */
    QuoteDetail getByDetailId(String detailId);

    /**
     * 根据quoteDetail 来更新一个状态
     * @param quoteDetail quoteDetail
     */
    void updateOne(QuoteDetail quoteDetail);

}
